//
//  CardSerialize.h
//  MagicCardDemo
//
//  Created by 向恒 on 15/7/5.
//  Copyright (c) 2015年 向恒. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CardQueue.h"
#import "CardData.h"
//@interface CardSerialize : NSObject
@interface CardData (CardSerialize)


//下面的两个方法要改成：20150722
//-(CardQueue*) ReadDataFromFile:(NSString*)filename;
//-(void)WriteData:(CardQueue*)Queue toFile:(NSString*)filename;

+(CardQueue*)ReadDataFromFile:(NSString*)filename;
+(void)WriteData:(CardQueue*)Queue toFile:(NSString*)filename;

@end


//这个文件的格式是怎样的？